home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2648 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  781 b 

  1. Path: news.dadd.ti.com!newsmgrs@dadd.ti.com
  2. From: Sudheer Vemulapalli <sudheer@dadd.ti.com>
  3. Newsgroups: comp.lang.c
  4. Subject: File Size!
  5. Date: 22 Jan 1996 22:06:41 GMT
  6. Organization: Texas Instruments
  7. Message-ID: <4e11ph$733@hammerhead.dadd.ti.com>
  8. NNTP-Posting-Host: roadrunner.dadd.ti.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.3 sun4m)
  13. X-URL: news:comp.lang.c?ALL
  14.  
  15. Hello Netters,
  16.  
  17. Is there a simple way to find the exact size of a file. I would like to know of
  18. a way to do it other than using ls -l and getting the size field from the
  19. output. If there is a UNIX system call or somefunction that returns the file
  20. size please let me know.
  21.  
  22. Thankx in advance.
  23.  
  24. -- 
  25. Sudheer K. Vemulapalli
  26.  
  27.